﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Randata.Test
{
    [TestClass]
    public class DateTimeTest
    {

        [TestMethod]
        public void DateTimeDataProvider_Should_work()
        {
            DateTime dt = DataProvider.Any<DateTime>();
        }

        [TestMethod]
        public void DateTimeDataProvider_Should_give_diferent_values()
        {
            DateTime dt1 = DataProvider.Any<DateTime>();

            DateTime dt2 = DataProvider.Any<DateTime>();

            Assert.AreNotEqual(dt1, dt2, "The values must to be diferents.");
        }

    }
}
